package hu.blok1.veilingsite.client.data;

import hu.blok1.veilingsite.shared.Product;
import hu.blok1.veilingsite.shared.User;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("AccountServiceAdmin")
public interface AccountServiceAdmin extends RemoteService {
	void ChangeUserStatus(String username, String newstatus);
	String GetUserStatus(String username);
	String GetProductStatus(String titel);
	void ChangeProductStatus(String titel, String newstatus);
	void DeleteUser(String username);
	void DeleteProduct(String titel);
	String GetUserType(String username);
	void ChangeUserType(String username, String newtype);
	List<User> FindMultiUser(String keyword);
	List<Product> FindMultiProduct(String keyword);
	User FindSingleUser(String keyword);
	Product FindSingleProduct(String keyword);
	void UpdateUser(String oldemail, String text, String text2, String text3,
			String text4);
	void UpdateProduct(int text, String text2, int text3, String text4);
	
}